package demo.pattern.eventmode;

/**
 * @ClassName DoubleClickEventLinstener
 * @Description
 * @Author 47980
 * @Date 2020/6/24 20:47
 * @Version V_1.0
 **/
public class DoubleClickEventListener implements EventListener {
    @Override
    public void processEvent(Event event) {
        if ("doubleclick".equals(event.getType())) {
            System.out.println("双击被触发");
        }
    }
}
